//设置默认值
const initState = []

//歌单列表
export const reList=(state = initState, action)=>{
    let { type, payload } = action;
    // console.log(type)
    switch (type) {
        case 'RE_LIST':
            return payload
        default:
            return state
    }
}

//歌单评论
 export const musicComment=(state = initState, action)=>{
    let { type, payload } = action;
    // console.log(type)
    switch (type) {
        case 'COMMENT':
            return payload
        default:
            return state
    }
}
 